<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib uri="/tld/dictionary" prefix="dictionary"%>
<%@ taglib uri="/tld/flowdictionary" prefix="flowdictionary"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link rel="stylesheet" href="${ctx}/static/css/style.css" type="text/css" /> 
<link rel="stylesheet" href="${ctx}/static/css/style1.css" type="text/css" /> 
<link rel="stylesheet" href="${ctx}/static/css/kongjian.css" type="text/css" />
<link rel="stylesheet" href="${ctx}/static/css/m.css" type="text/css" />
<script src="${ctx}/static/script/jquery-1.4.min.js" type="text/javascript"></script>
<script src="${ctx}/static/script/jquery.ui.core.js"></script>
<script src="${ctx}/static/script/jquery.ui.datepicker.js"></script>
	<table style="width:100%;" class="ggkj_table"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <th scope="col">序号</th>
    <th scope="col">卖单明细编号</th>
    <th scope="col">债权编号</th>
    <th scope="col">卖单编号</th>
    <th scope="col">原债权人</th>
    <th scope="col">债务人</th>
    <th scope="col">对价金额</th>
    <th scope="col">卖出比例</th>
    <th scope="col">已售出比例</th>
    <th scope="col">约定交割日期</th>
    <th scope="col">irr</th>
  </tr>
  	<c:forEach items="${page.result}" var="item" varStatus="status">
		<c:choose>
  			<c:when test="${status.count%2==0}">
  				<tr class="ggkj_tdColr">
  			</c:when>
  			<c:otherwise>
  				<tr >
  			</c:otherwise>
		</c:choose>
		 <td>${status.count+(page.pageNo-1)*10}</td>
		  <td>${item.id}</td>
		  <td>${item.loanId}</td>
		  <td>${item.ftTSellOrderMain.id}</td>
		  <td>${item.ftTSellOrderMain.investInfo.customerInfo.cnName}</td>
		  <td>${item.loanName}</td>
		  <td><fmt:formatNumber value="${item.amt}" /></td>
		  <td><fmt:formatNumber value="${item.scale}" pattern="#0.000#" /></td>
		  <td><fmt:formatNumber value="${item.receiveScale}" pattern="#0.000#" /></td>
		  <td><fmt:formatDate value="${item.ftTSellOrderMain.appointPaymentDate}"   pattern="yyyy-MM-dd" type="date" dateStyle="long" /></td>
		  <td><fmt:formatNumber value="${item.irr}" pattern="#0.0#" /></td>
		  </tr>
	</c:forEach>
</table>
    	<div class="ggkj_pagecontainer">
  <div class="ggkj_pageBGleft">
    	<span class="ggkj_pageBGright"></span>
    	<a href="javascript:jumpPage(1)" class="ggkj_pageUpa">
        
        </a>
        <a href="javascript:jumpPage(${page.prePage})" class="ggkj_pageUp">
        
        </a>
        <span class="ggkj_insertline"></span>
        <span class="ggkj_pageSpan">
        	页<input type="text" id="pageNo" name="pageNo" class="ggkj_inputtext_30" value="${page.pageNo}">OF ${page.totalPages}
        </span>
        <span class="ggkj_insertline"></span>
        <a href="javascript:jumpPage(${page.nextPage})" class="ggkj_pageDown">
        
        </a>
        <a href="javascript:jumpPage(${page.totalPages})" class="ggkj_pageDowna">
        
        </a>
    </div>
</div>